<?php
	//打印数据
	function p($var){
		if(is_bool($var)){
			echo "1";
			var_dump($var);
		}elseif(is_null($var)){
			var_dump(NULL);
		}else{
			echo "<pre style='position:relative;z-index:1000;padding:10px;
				border-radius:5px;background:#F5F5F5;border:1px solid #aaa;font-size:14px;
				line-height:18px;opacity:0 9;'>".print_r($var,true)."</pre>";
		}
	}
